import { createRoot } from "react-dom/client";
import { RouterProvider } from "react-router-dom";
import router from "./router/index.tsx";
import "normalize.css";
import { Provider } from "react-redux";
import { store } from "./store";
import zhCN from "antd/lib/locale/zh_CN";
import { ConfigProvider } from "antd";
createRoot(document.getElementById("root")!).render(
  <ConfigProvider locale={zhCN}>
    <Provider store={store}>
      <RouterProvider router={router} />
    </Provider>
  </ConfigProvider>
);
